<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style type="text/css">
*{
	font-family:微软雅黑;
}


	</style>
</head>
<body>
	<h1>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</h1>
</body>
<script type="text/javascript">
	nav=navigator.userAgent;
ntype=nav.match(/chrome|firefox|tridenet/i);
switch(ntype[0].toLowerCase()){
case 'chrome':
document.body.style.background='red';
break;
case 'firefox':
break;
case 'trident':
break;
}




</script>
</html>